package com.studentexam.student.dao;

import com.studentexam.student.model.Teacher;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TeacherMapper {
    int getPersonCount(Integer personid);

    int insertTeacher(Teacher teacher);

//    int getStudentnameCount(String rolename);

    int updateTeacher(Teacher teacher);

    int delTeacher(Integer teacherid);

    List<Teacher> getByTeacherid(Integer teacherid);

    List<Teacher> getAllTeacher(Teacher teacher);
}
